<?php
// +----------------------------------------------------------------------
// | ZanPianCMS
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.zanpiancms.com All rights reserved.
// +----------------------------------------------------------------------
// | BBS:  <http://bbs.zanpiancms.com>
// +----------------------------------------------------------------------
namespace app\locoy\controller;
use app\common\controller\Locoy;
use app\common\library\Insert;
class Actor extends Locoy{  
    public function Add(){
		if ($this->request->instance()->isPost()){
            $data   = input('post.');
		    $add= new Insert;
		    $return=$add->actor($data);
            if($return['code']){
			  return "成功：".$return['msg'];
		    }else{
			  return "失败：".$return['msg'];
		    }	
        }			
    }

}
